-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting up repo priority #2733
Conversation
99853f6
to
6d22ede
Compare
1708e77
to
0b2bf73
Compare
efa6f29
to
21f86d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for PR @nikromen,
Overall it looks very good. There are some parts that I think can be simplified, so added some comments to the code.
Apart from that, we should probably squash all the commits together before merging.
frontend/coprs_frontend/alembic/versions/7d9f6f921fa0_add_repo_priority_field.py
Outdated
Show resolved
Hide resolved
21f86d5
to
66cdc13
Compare
6619eae
to
0aeac65
Compare
98f94e9
to
d0548bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks very good, just a couple of minor fixes are needed.
d0548bb
to
f981651
Compare
f981651
to
38ff3d1
Compare
1fe543c
to
ed3c73c
Compare
200461d
to
f66a2ae
Compare
/packit build |
I tested it locally in container and API call returns the priority correctly so it should work as expected now @FrostyX PTAL |
I'd probably prefer having this less intrusive, I tested this and I basically see the number 99 everywhere, which will cause a wave of questions (the number 99 is suspicious, and people will have to study dnf.conf manual page that we do not even point them to). Can this be done so that |
3e4f3d4
to
688323e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
688323e
to
8a0619c
Compare
8a0619c
to
66c2657
Compare
Can you please update |
66c2657
to
cfda500
Compare
This allows users to set priority of their repository via frontend page or copr-cli. This priority value sets the `priority=X` value in repo confid in /etc/yum.repos.d/_copr:*repo
cfda500
to
3f9ed71
Compare
TODO:
Fixes #2568